kNTSCConnect EQU 11 ; NTSC ST (default), FF, STconv, FFconv
kPALConnect EQU 12 ; PAL ST (default), FF, STconv, FFconv
kHRConnect EQU 13 ; Straight-6 connect -- 640x480 and 640x400 (to get 8bpp in 256K case) (these two only)
kPanelFSTNConnect EQU 14 ; For use with fixed-in-place LCD FSTN (aka ``Supertwist'') panels
kMonoTwoPageConnect EQU 15 ; 1152x870 Apple color two-page display
kColorTwoPageConnect EQU 16 ; 1152x870 Apple B&W two-page display
kColor16Connect EQU 17 ; 832x624 Apple B&W two-page display
kColor19Connect EQU 18 ; 1024x768 Apple B&W two-page display
; csTimingFlags values in VDTimingInfoRec
kModeValid EQU 0 ; Says that this mode should NOT be trimmed.
kModeSafe EQU 1 ; This mode does not need confirmation
kModeDefault EQU 2 ; This is the default mode for this type of connection
kModeShowNow EQU 3 ; This mode should always be shown (even though it may require a confirm)
kModeNotResize EQU 4 ; This mode should not be used to resize the display (eg. mode selects a different connector on card)
kModeRequiresPan EQU 5 ; This mode has more pixels than are actually displayed
kModeInterlaced EQU 6 ; This mode is interlaced (single pixel lines look bad).
kModeShowNever EQU 7 ; This mode should not be shown in the user interface.
; csResolutionFlags bit flags for VDResolutionInfoRec
kResolutionHasMultipleDepthSizes EQU 0 ; Says that this mode has different csHorizontalPixels, csVerticalLines at different depths (usually slightly larger at lower depths)
; Power Mode constants for VDPowerStateRec.powerState.
kAVPowerOff EQU 0
kAVPowerStandby EQU 1
kAVPowerSuspend EQU 2
kAVPowerOn EQU 3
; Power Mode masks and bits for VDPowerStateRec.powerFlags.
kPowerStateNeedsRefresh EQU 0
kPowerStateNeedsRefreshMask EQU $00000001
; Control Codes
cscReset EQU 0
cscKillIO EQU 1
cscSetMode EQU 2
cscSetEntries EQU 3
cscSetGamma EQU 4
cscGrayPage EQU 5
cscGrayScreen EQU 5
cscSetGray EQU 6
cscSetInterrupt EQU 7
cscDirectSetEntries EQU 8
cscSetDefaultMode EQU 9
cscSwitchMode EQU 10
cscSetSync EQU 11
cscSavePreferredConfiguration EQU 16
cscSetHardwareCursor EQU 22
cscDrawHardwareCursor EQU 23
cscSetConvolution EQU 24
cscSetPowerState EQU 25
cscPrivateControlCall EQU 26
cscUnusedCall EQU 127 ; This call used to expend the scrn resource. Its imbedded data contains more control info
; Status Codes
cscGetMode EQU 2
cscGetEntries EQU 3
cscGetPageCnt EQU 4
cscGetPages EQU 4 ; This is what C&D 2 calls it.
cscGetPageBase EQU 5
cscGetBaseAddr EQU 5 ; This is what C&D 2 calls it.
cscGetGray EQU 6
cscGetInterrupt EQU 7
cscGetGamma EQU 8
cscGetDefaultMode EQU 9
cscGetCurMode EQU 10
cscGetSync EQU 11
cscGetConnection EQU 12 ; Return information about the connection to the display
cscGetModeTiming EQU 13 ; Return timing info for a mode
cscGetModeBaseAddress EQU 14 ; Return base address information about a particular mode
csConnectFlags ds.l 1 ; offset: $4 (4) ; LONGINT - (long) tell us about the connection
csDisplayComponent ds.l 1 ; offset: $8 (8) ; LONGINT - (long) if the card has a direct connection to the display, it returns the display component here (FUTURE)